<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
<<<<<<< HEAD
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
=======
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
>>>>>>> 2b2d0289d1b1b1d2371d3f219f7169f0d031cfe8
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

<<<<<<< HEAD
use think\Route;

Route::get('/', 'index/Index/index');

Route::resource('users','admin/Con1');
Route::resource('roles','admin/Role');
Route::resource('node','admin/Node');


//后台用户模块
Route::resource('auser','admin/Auser');
//后台回复模块
Route::resource('comment','admin/Comment');

return [
=======
return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    '[hello]'     => [
        ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
        ':name' => ['index/hello', ['method' => 'post']],
    ],
>>>>>>> 2b2d0289d1b1b1d2371d3f219f7169f0d031cfe8

];
